<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#A" data-toggle="tab">协议设置</a></li>
        <li class=""><a href="#B" data-toggle="tab">基本设置</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('setting/set')}"method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <div class="form-group">
                            <label for="input-cdn_static_root" class="col-sm-2 control-label">用户协议</label>
                            <div class="col-md-6 col-sm-10">
                                <textarea class="form-control" name="xy[yhxy_text]" style="height: 200px;">{$xy.yhxy_text|default=''}</textarea>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="input-cdn_static_root" class="col-sm-2 control-label">注销协议</label>
                            <div class="col-md-6 col-sm-10">
                                <textarea class="form-control" name="xy[zxxz_text]" style="height: 200px;">{$xy.zxxz_text|default=''}</textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">
                                    {:lang('SAVE')}
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane" id="B">
                        <div class="form-group">
                            <label for="input-cdn_static_root" class="col-sm-2 control-label">提现手续费（%）</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" name="set[withdraw_commission]"
                                       value="{$set.withdraw_commission|default=''}">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">
                                    {:lang('SAVE')}
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>

</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    $.ajax({
        type: 'post',
        url: 'http://meiyetk.sylpshop.cn/api',
        success:function(res){

        }
    });
</script>
</body>
</html>
